<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>test</title>
    <style>
        body { margin: 0; }
        #v3d-container { position: absolute;width: 100%;height: 100%;}
    </style>
</head>
<body>
    <div id="v3d-container"></div>
    <script src="./lib/v3d.js"></script>
    <script>
        const app=new v3d.App('v3d-container')
        app.loadScene('cube.glb',()=>{
            app.enableControls();
            app.run();
            app.controls.autoRotate=true;
        })
    </script>
</body>
</html>